<template>
<div>
  用户列表
</div>
</template>

<script>
import {
  getUsers
} from '@/api'
export default {
  created() {
    console.log('user组件被渲染....')
    const params = {
      pagenum:1,
      pagesize:10
    }
    
    getUsers(params).then(res=>{
      console.log(res)
    })
  }
}
</script>

<style scoped>

</style>
